#include <gtk/gtk.h>
int main(int argc, char *argv[])
{
  GtkWidget *window, *button;
  GtkTooltips *tooltips;

  gtk_init (&argc, &argv);

  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
  g_signal_connect_swapped(window, "destroy", G_CALLBACK(gtk_main_quit), NULL);

  button = gtk_button_new_with_label("button with tooltips");
  tooltips = gtk_tooltips_new();

  gtk_tooltips_set_tip(tooltips, button, "This is button", NULL);


  gtk_container_add(GTK_CONTAINER(window), button);
  gtk_widget_show_all(window);
  gtk_main();

  return 0;
}
